﻿Public Class ProyectoEntity
    Inherits EntityBase

    Private _nombre As String
    Public Property Nombre() As String
        Get
            Return _nombre
        End Get
        Set(ByVal value As String)
            _nombre = value
        End Set
    End Property

    Private _fechaInicio As Date
    Public Property FechaInicio() As Date
        Get
            Return _fechaInicio
        End Get
        Set(ByVal value As Date)
            _fechaInicio = value
        End Set
    End Property

    Private _fechaFin As Date
    Public Property FechaFin() As Date
        Get
            Return _fechaFin
        End Get
        Set(ByVal value As Date)
            _fechaFin = value
        End Set
    End Property

    Private _descripcion As String
    Public Property Descripcion() As String
        Get
            Return _descripcion
        End Get
        Set(ByVal value As String)
            _descripcion = value
        End Set
    End Property

    Public Sub New(ByVal n As String, ByVal fi As Date, ByVal ff As Date, ByVal d As String)
        Me._nombre = n
        Me._fechaInicio = fi
        Me.FechaFin = ff
        Me._descripcion = d
    End Sub

    Public Sub New()
    End Sub

    Public Overrides Function ToString() As String
        Return Me.Nombre
    End Function
End Class
